body {
    background-color: #eff0f4;
    font-size: 15px;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 半透明黑色背景 */
    z-index: 899;
}

.page-container {
    display: flex;
    width: 100%;
    height: 100vh;
    justify-content: center; /* 子元素水平居中 */
}

.left-side {
    flex: 1; /* left-side与right-side平分水平空间, 1:4 */
    color: #FFFFFF;
    background-color: #424f63;
    font-size: 17px;
    height: 100%;
}

.right-side {  /* left-side与right-side平分水平空间, 1:4 */
    flex: 4;
}

.container {
    display: block;
    font-size: 20px;
    height: 100px;
    margin-left: 5px;
    padding-top: 15px;
}

.logo-title {
    margin-left: 5px;
}

.tabContainer {
    padding: 0;
    margin: 0 auto;
}

.member-item {
    display: block;
    height: 60px;
    padding-top: 30px;
}

.member-item:hover {
    background-color: #3B3E4B;
    color: green;
}

.member-item:focus {
    background-color: #3B3E4B;
}

.active {
    background-color: #3B3E4B;
}

.member-icon {
    width: 15px;
    height: 15px;
    margin-left: 30px;
}

.member-label {
    margin-left: 20px;
}

.login {
    background-color: #dddddd;
    height: 50px;
    font-size: 20px;
    display: flex; /* 使用 Flexbox 布局 */
    align-items: center; /* 垂直方向上让子元素居中对齐 */
}

.login-list {
    list-style-type: none;
    margin-right: 0;
    display: flex;
    align-items: center;
}

.li-login {
    display: inline-block; /* 将列表项设置为行内块级元素 */
    width: 50%; /* 设置每个列表项的宽度为父元素宽度的一半 */
    box-sizing: border-box; /* 让宽度包括边框和内边距 */
}

.no-underline {
    text-decoration: none;
}

.title {
    flex-grow: 1; /* 让title元素填满除了login-list之外的空间 */
    display: flex; /* 使用 Flexbox 布局 */
    justify-content: center; /* 设置主轴上的内容居中 */
    align-items: center; /* 设置交叉轴上的内容居中 */
    text-align: center; /* 设置文本居中 */
    font-weight: bold;
}

.menu {
    display: none;
    font-size: 12px;
    position: absolute;
    right: 0;
    height: 150px;
    margin-right: 7px;
    margin-top: 220px;
    background-color: #fefefe;
    width: 90px;
    justify-content: center;
    border-radius: 15px;
}

.visible {
    display: block;
}

.li-register {
    list-style-type: none;
    padding: 2px;
    margin-right: 28px;
    margin-top: 19px;
    font-size: 13px;
}

.menu-item {
    text-decoration: none;
    color: dodgerblue;
    background-color: #fefefe;
    font-weight: bold;
}

.menu-item:hover {
    color: chocolate;
}

.userItem {
    background-color: red;
    width: 400px;
    height: 350px;
    border: 3px solid wheat;
    border-radius: 15px;
    margin-top: 100px;
}

.web-body {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
}

.content {
    width: 95%;
    display: flex;
    align-items: center;
    flex-direction: column;
}

h1 {
    width: 100%;
    font-size: 25px;
    font-weight: bold;
}

.list {
    width: 80%;
    height: 100%;
}

.list-title {
    color: black;
    font-size: 15px;
    margin-top: 20px;
    border-bottom: 2px dotted rgba(100, 100, 100, 0.5);
    padding-bottom: 15px;
    display: flex;
}

.list-item {
    font-weight: bold;
    font-size: 15px;
}

.iconAdd {
    margin-left: 20px;
    width: 20px;
    cursor: pointer;
}

.iconAdd:active {
    background-color: wheat;
}

.search-item {
    margin-left: 50px;
}

.add-item {
    margin-left: 50px;
}

.icon {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.icon:hover {
    filter: hue-rotate(180deg) saturate(200%);
}

.menu-text {
    display: none;
}

.menu-search, .menu-add {
    width: 100%;
}

.popup {
    display: none;
    position: fixed;
    z-index: 900;
    transform: translate(43%, 20%);
    background-color: #fefefe;
    border: 1px solid #888;
    padding: 10px;
    width: 250px;
    height: 150px;
    cursor: move;
    flex-direction: column;
    align-items: center;
}

.search-title {
    margin-top: 10px;
    margin-left: 30px;
    width: 50%;
    height: 40px;
    font-size: 13px;
    color: #3B3E4B;
    font-weight: bold;
}

.search-false {
    margin-left: 210px;
    cursor: pointer;
    transform: translateY(-42px);
    padding: 0;
    font-weight: bold;
}

.input-content {
    margin-left: 37px;
    padding: 0;
    height: 50px;
}

.search-choose {
    margin-left: 70px;
}

.search-sure {
    background-color: dodgerblue;
    width: 50px;
    height: 30px;
}
.search-cancel {
    margin-left: 10px;
    width: 50px;
    height: 30px;
}

.table-body {
    border-collapse: collapse; /* 折叠边框，使其看起来更整洁 */
    border: 3px solid #ddd;
    margin-top: 30px;
    text-align: center;
    width: 100%;
}

.table-add {
    width: 100%;
    height: 100%;
    border: none;
}

.input-style {
    border: none;
    background-color: #eff0f4;
    position: relative;
    text-align: center;
    width: 50%;
}

.admin-select {
    border-radius: 5px;
    border: 2px solid #3B3E4B;
    background-color: white;
    font-size: 15px;
    width: 50px;
    height: 20px;
    overflow-y: auto; /* 启用垂直滚动条 */
}

.option {
    padding: 20px;
    background-color: lightblue;
    color: black;
    font-size: 17px;
}

th, td {
    padding: 10px;
    border: 1px solid #ddd;
}

th {
    font-size: 20px;
    background-color: #cccccc;
    color: #333;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* 添加阴影效果 */
}

.count {
    font-size: 12px;
    color: #424f63;
    margin-left: 25px;
    margin-top: 10px;
}

tr {
    color: #333333;
}

.pagination {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
}

.pagination li {
    margin: 0 5px;
}

.pagination li a {
    text-decoration: none;
    padding: 5px 10px;
    border: 1px solid #ddd;
    background-color: #f8f8f8;
    color: #333;
}

.pagination li.active a {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

.pagination li a:hover {
    background-color: #e7e7e7;
}

.hidden {
    display: none;
}

html, body {
    height: 100%;
}

body {
    display: flex;
    justify-content: center;
}

.login-form {
    height: 80%;
    width: 100%;
    border: 1px solid lightblue;
    border-radius: 20px;
    margin-top: 70px;
    text-align: center;
}

.login-image {
    margin-bottom: 60px;
    margin-top: 70px;
    margin-right: 300px;
    font-size: 20px;
    color: lightskyblue;
    font-weight: bold;
}

.login-user {
    width: 60%;
    height: 25px;
    background-color: #eff0f4;
    caret-color: lightseagreen;
    margin: 20px;
    border: none; /* 去掉所有边框 */
    border-bottom: 1px solid cornflowerblue; /* 保留下边框 */
}

input:focus {
    outline: none;
}

.login-user::placeholder {
    font-size: 18px;
    line-height: 20px;
    font-weight: bold;
    color: #cccccc;
}

button[type="submit"] {
    width: 60%;
    padding: 10px;
    margin: 20px;
    border: 1px solid blanchedalmond;
    background-color: darkseagreen;
    color: #fff;
    border-radius: 20px;
    cursor: pointer;
}

button:hover {
    background-color: darkgoldenrod;
}
